/* table modifications */
/* trick because flextable dont allow theaders */
.app-flex-table-header {
	font-weight: bold;
}

.table tbody tr:first-child td {
	border-top: 1px solid transparent;
	border-bottom: 1px solid #DDD;
}

.table thead tr th {
	border-bottom: 1px solid #DDD;
}

.table input[type="checkbox"] {
	margin: 0;
}

/* jquery pnotify modifications */
.ui-pnotify.custom .ui-pnotify-container {
	cursor: pointer;
}

/* GWT modifications */
tbody {
	vertical-align: top;
}

.gwt-SuggestBox {
	border: 1px solid #666;
	text-align: left;
}

.gwt-SuggestBoxPopup {
	text-align: left;
	cursor: pointer;
	cursor: hand;
	border: 1px solid #666;
	border-top: 0;
	background-color: #fff;
	overflow-y: auto !important;
	max-height: 250px;
}

.gwt-SuggestBoxPopup .item {
	border: 1px dotted #aaa;
	width: 220px;
}

.gwt-SuggestBoxPopup .item-selected {
	background-color: #ffc;
}

/* bootstrap modifications */
body {
	padding-top: 60px;
	padding-bottom: 40px;
}

.pagination {
	margin: 5px 0;
}

.pagination a,.pagination span {
	background-color: inherit;
}

ul.nav li.dropdown:hover ul.dropdown-menu {
	display: block;
	top: 37px;
}

a.menu:after,.dropdown-toggle:after {
	content: none;
}

.modal-backdrop,.modal-backdrop.fade.in {
	opacity: 0.7;
	filter: alpha(opacity\=70);
	background: #fff;
}

.modal {
	width: 940px;
	margin-left: -470px;
}

.modal-footer {
	text-align: left;
}

/* Responsive */
/* Large desktop */
@media ( min-width : 1200px) {
	.modal {
		width: 1170px;
		margin-left: -585px;
	}
}

/* Portrait tablet to landscape and desktop */
@media ( min-width : 768px) and (max-width: 979px) {
	body {
		padding-top: 0;
	}
	
	.modal {
		top: 1%;
		right: 1%;
		left: 1%;
		bottom: auto;
		width: auto !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}
}

/* Landscape phone to portrait tablet */
@media ( max-width : 767px) {
	body {
		padding-top: 0;
	}
	
	.modal {
		top: 1%;
		right: 1%;
		left: 1%;
		bottom: auto;
		width: auto !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}
}

/* Landscape phones and down */
@media ( max-width : 480px) {
}